package com.yungam.imcs.business;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

@Slf4j
//@RestController
//@RequestMapping("/IMCS")
public class MesProvider {

    /**
     * 获取设备最新状态信息接口
     */
    @GetMapping("/getMachineStatus")
    public List<Map<String, Object>> getMachineStatus() {
        return null;
    }

    /**
     * 获取指定罐号是否采集结束接口
     */
    @PostMapping("/getProductSnCanPass")
    public Map<String, Object> getProductSnCanPass(@RequestBody Map<String, Object> params) {
        return null;
    }

    /**
     * 下发开始采集指令接口
     */
    @PostMapping("/sendStartCommand")
    public Map<String, Object> sendStartCommand(@RequestBody Map<String, Object> params) {
        return null;
    }

    /**
     * 用户信息同步接口
     */
    @PostMapping("/synchronizeUser")
    public Map<String, Object> synchronizeUser(@RequestBody List<Map<String, String>> params) {
        return null;
    }

    /**
     * 产品信息同步接口
     */
    @PostMapping("/synchronizeProduct")
    public Map<String, Object> synchronizeProduct(@RequestBody Map<String, Object> params) {
        return null;
    }

    /**
     * 工单信息同步接口
     */
    @PostMapping("/synchronizeWorkOrder")
    public Map<String, Object> synchronizeWorkOrder(@RequestBody Map<String, Object> params) {
        return null;
    }

    /**
     * 完工信息同步接口
     */
    @PostMapping("/productionFinished")
    public Map<String, Object> productionFinished(@RequestBody Map<String, Object> params) {
        return null;

    }

    /**
     * 工单开始
     */
    @PostMapping("/startWorkOrderNo")
    public Map<String, Object> startWorkOrderNo(@RequestBody Map<String, Object> params) {
        return null;
    }

}
